package dr.joketalker.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;

public abstract class Entity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3966740764138474160L;

	
	
	protected long id;
	
	static final String ID = "ID";
	static final String TABLE = "TABLE";
	
	protected List<NameValuePair> listParams = new ArrayList<NameValuePair>();
	
	

	
	public Entity(){
		clear();
	}
	
	protected void clear(){
		id = -1;
	}	

	
	
	@Override
	public String toString() {
		return "Entity [id=" + id + "]";
	}


	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	
	
}
